//
//  Classes.m
//  JiaoWuGuanLi
//
//  Created by Zinzie on 14-7-6.
//  Copyright (c) 2014年 Zinzie. All rights reserved.
//

#import "Classes.h"
#import "Student.h"


@implementation Classes

@dynamic biaoJi;
@dynamic jiaoShi;
@dynamic jieShuZhou;
@dynamic kaiShiZhou;
@dynamic laoShi;
@dynamic mingCheng;
@dynamic shiJian;
@dynamic xingQi;
@dynamic ofWho;


-(NSComparisonResult)compareClasses:(Classes *)otherClasses{
    NSString *selfTime = self.shiJian;
    NSString *otherTime = otherClasses.shiJian;
    NSComparisonResult result = [selfTime compare:otherTime];
    
    return result == NSOrderedDescending;
    
}

@end
